<html>
    <head></head>
    <body>
        <p>History - {{pagepath}}</p>
        
        
        <div id='history'>
        
        <!-- Table markup-->

        <table id="history_table">
        <!-- Table header -->
        <thead>
            <tr>
                <th scope="col" id="glob_rev_th">Global Revision</th>
                <th scope="col" id="loc_rev_th">Local Revision</th>
                <th scope="col" id="changes_th">Changes</th>
                <th scope="col" id="date_th">Date</th>
                <th scope="col" id="owner_th">Owner</th>
            </tr>
        </thead>

    <!-- Table body -->

        <tbody>
        {% for revision in revisions %}
            <tr>
                <td><b><a href='/{{project_uid}}/pages/showrev/{{revision.uid}}/'>{{revision.uid}}</a></b></td>
                <td>{{revision.pid}}</td>
                <td>{{revision.changes|length}}</b></td>
                <td>{{revision.creation_date}}</td>
                <td>{{revision.owner.username}}</td>
            </tr>
        {% endfor %}
        </tbody>

</table>
        

        </div>
    </body>
</html>